package com.jyb.qiyefuwu.entity;

import com.contrarywind.interfaces.IPickerViewData;

public class DepartmentEntity<T> implements IPickerViewData {
    private String id;
    private String name;
    private T children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getChildren() {
        return children;
    }

    public void setChildren(T children) {
        this.children = children;
    }

    @Override
    public String getPickerViewText() {
        return name;
    }
}
